﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace AUV5.Model
{
    /// <summary>
    /// 功能：     实体类 PaymentHistory (支付记录表) 
    /// 作者：     Wilson
    /// 日期：     2011/11/14
    /// 修改日期： 
    /// 修改人：
    /// 修改内容：
    /// </summary>
    [Serializable]
    public class PaymentHistory
    {
        public PaymentHistory()
        {

        }

        #region Model

        private string _historyid;
        private string _userid;
        private string _serviceid;
        private string _paymentaccount;
        private string _tradeno;
        private string _ordercode;
        private System.Decimal _totalfee;
        private string _tradestatus;
        private string _ipaddress;
        private DateTime _createdate = DateTime.Parse("1900-1-1");
        private DateTime _updatedate = DateTime.Parse("1900-1-1");

        /// <summary>
        /// 支付记录ID
        /// </summary>
        public string HistoryId
        {
            get { return _historyid; }
            set { _historyid = value; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserId
        {
            get { return _userid; }
            set { _userid = value; }
        }
        /// <summary>
        /// 服务ID
        /// </summary>
        public string ServiceId
        {
            get { return _serviceid; }
            set { _serviceid = value; }
        }
        /// <summary>
        /// 支付帐号
        /// </summary>
        public string PaymentAccount
        {
            get { return _paymentaccount; }
            set { _paymentaccount = value; }
        }
        /// <summary>
        /// 支付宝交易单号
        /// </summary>
        public string TradeNo
        {
            get { return _tradeno; }
            set { _tradeno = value; }
        }
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderCode
        {
            get { return _ordercode; }
            set { _ordercode = value; }
        }
        /// <summary>
        /// 交易金额
        /// </summary>
        public System.Decimal TotalFee
        {
            get { return _totalfee; }
            set { _totalfee = value; }
        }
        /// <summary>
        /// 交易状态
        /// </summary>
        public string TradeStatus
        {
            get { return _tradestatus; }
            set { _tradestatus = value; }
        }
        /// <summary>
        /// IP地址
        /// </summary>
        public string IpAddress
        {
            get { return _ipaddress; }
            set { _ipaddress = value; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate
        {
            get { return _createdate; }
            set { _createdate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime UpdateDate
        {
            get { return _updatedate; }
            set { _updatedate = value; }
        }

        #endregion Model
    }
}
